#ifndef OBJECT_H_
#define OBJECT_H_

#include "Ray.h"
#include "Material.h"

struct IntersectionInfo
{
	IntersectionInfo(Vec3 normal, Material * material)
	: Normal(normal), Mtrl(material) {}
	Vec3 Normal;
	Material * Mtrl;
};

class Object
{
public:
	Object(){ }
	virtual ~Object(){};
	virtual IntersectionInfo GetIntersectionInfo(const Vec3 & point) = 0;

	Material _material;
};

#endif
